package com.jwd.avmanager.test;

import com.jwd.avmanager.util.DebugLogger;

public class testF {
    public static void main(String[] args) {
        double v = 114 + (double) 8 / 60.0 + ((double) 487824000 / Math.pow(10, 7)) / 3600;
        DebugLogger.info(v);
        double v2 = 22 + (double) 40 / 60.0 + ((double) 49296000 / Math.pow(10, 7)) / 3600;
        DebugLogger.info(v2);


        System.err.println((double) 8 / 60.0);
        System.err.println(((double) 8 / Math.pow(10, 7)) / 3600);

        tsda();
        Srtewe();
    }

    public static void Srtewe() {
        String v = "1,18,1";
        String[] split = v.split(",");
        for (String s : split) {
            DebugLogger.info(s);
        }

    }

    public static void tsda() {
        /**GPSValid := GPSInfo.ucStatus and $01;

         if GPSInfo.ucStatus and $02 = $02 then  // 西经
         wgsLon := -wgsLon;

         if GPSInfo.ucStatus and $04 = $00 then  // 南纬
         wgsLat := -wgsLat;
         */
        int i;
        i = 255 & 0x01;
        DebugLogger.info(i);

        DebugLogger.info((255 & 0x02) + "==" + 0x02);
        DebugLogger.info((255 & 0x04) + "==" + 0x04);
    }
}
